﻿<telerik:RadWindow x:Class="Rio.Manager.Application.Controls.WorkflowRulesEditorChildWindow"
                   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                   mc:Ignorable="d"
                   Header="Workflow Rules Editor"
                   CanClose="True"
                   CanMove="true"
                   WindowStartupLocation="CenterScreen"
                   xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                   Height="600"
                   Width="800"
                   d:DesignHeight="800"
                   d:DesignWidth="600">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>
        <telerik:RadToolBar Grid.Row="0" />
        <telerik:RadRichTextBox HorizontalAlignment="Stretch"
                                IsContextMenuEnabled="False"
                                IsSelectionMiniToolBarEnabled="False"
                                IsSpellCheckingEnabled="False"
                                Name="RulesEditor"
                                Grid.Row="1" />
        <StackPanel Grid.Row="2"
                    Orientation="Horizontal"
                    Margin="16,10,10,5"
                    Grid.Column="1"
                    d:LayoutOverrides="Width"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Bottom">
            <telerik:RadButton x:Name="OkBtn"
                               Content="OK"
                               MinWidth="70"
                               VerticalAlignment="Center"
                               Margin="10 0 0 0"
                               Click="OkBtn_Click" />
            <telerik:RadButton x:Name="CancelBtn"
                               Content="Cancel"
                               MinWidth="70"
                               VerticalAlignment="Center"
                               Margin="10 0 0 0"
                               Click="CancelBtn_Click" />
        </StackPanel>
    </Grid>
</telerik:RadWindow>
